package com.ruoyi.wms.mapper;

import java.util.List;
import com.ruoyi.wms.domain.WmsReceiptOrder;
import com.ruoyi.wms.domain.WmsReceiptOrderDetail;

/**
 * 收货订单Mapper接口
 * 
 * @author ruoyi
 * @date 2024-01-01
 */
public interface WmsReceiptOrderMapper 
{
    /**
     * 查询收货订单
     * 
     * @param orderId 收货订单主键
     * @return 收货订单
     */
    public WmsReceiptOrder selectWmsReceiptOrderById(Long orderId);

    /**
     * 根据订单编号查询收货订单
     * 
     * @param orderNo 订单编号
     * @return 收货订单
     */
    public WmsReceiptOrder selectWmsReceiptOrderByOrderNo(String orderNo);

    /**
     * 查询收货订单列表
     * 
     * @param wmsReceiptOrder 收货订单
     * @return 收货订单集合
     */
    public List<WmsReceiptOrder> selectWmsReceiptOrderList(WmsReceiptOrder wmsReceiptOrder);

    /**
     * 新增收货订单
     * 
     * @param wmsReceiptOrder 收货订单
     * @return 结果
     */
    public int insertWmsReceiptOrder(WmsReceiptOrder wmsReceiptOrder);

    /**
     * 修改收货订单
     * 
     * @param wmsReceiptOrder 收货订单
     * @return 结果
     */
    public int updateWmsReceiptOrder(WmsReceiptOrder wmsReceiptOrder);

    /**
     * 删除收货订单
     * 
     * @param orderId 收货订单主键
     * @return 结果
     */
    public int deleteWmsReceiptOrderById(Long orderId);

    /**
     * 批量删除收货订单
     * 
     * @param orderIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWmsReceiptOrderByIds(Long[] orderIds);

    /**
     * 删除收货订单明细信息
     * 
     * @param orderNo 订单编号
     * @return 结果
     */
    public int deleteWmsReceiptOrderDetailByOrderNo(String orderNo);

    /**
     * 批量新增收货订单明细
     * 
     * @param wmsReceiptOrderDetailList 收货订单明细列表
     * @return 结果
     */
    public int batchWmsReceiptOrderDetail(List<WmsReceiptOrderDetail> wmsReceiptOrderDetailList);
}